import config from "@/config"
import http from "@/utils/request"

export default {
  postAI: {
    url: `${config.API_URL}/ms/ai/openai`,
    name: "调用chatgpt翻译",
    post: async function(data){
      return await http.post(this.url, data, {timeout: 300000})
    }
  },
  // , {
  //   headers: {
  //       'Content-Type': 'multipart/form-data'
  //   }
  // }
}

